package com.mrobuy.jd.sdk.domain;

import org.codehaus.jackson.annotate.JsonProperty;

import java.io.Serializable;
import java.util.List;

public class JosSaleAttrNameDto implements Serializable {

    private List<SaleAttributeDto> result;
    private long count;
    private boolean success;
    private String returnCode;
    private String returnMessage;

    public JosSaleAttrNameDto() {
    }

    @JsonProperty("result")
    public void setResult(List<SaleAttributeDto> result) {
        this.result = result;
    }

    @JsonProperty("result")
    public List<SaleAttributeDto> getResult() {
        return this.result;
    }

    @JsonProperty("count")
    public void setCount(long count) {
        this.count = count;
    }

    @JsonProperty("count")
    public long getCount() {
        return this.count;
    }

    @JsonProperty("success")
    public void setSuccess(boolean success) {
        this.success = success;
    }

    @JsonProperty("success")
    public boolean getSuccess() {
        return this.success;
    }

    @JsonProperty("return_code")
    public void setReturnCode(String returnCode) {
        this.returnCode = returnCode;
    }

    @JsonProperty("return_code")
    public String getReturnCode() {
        return this.returnCode;
    }

    @JsonProperty("return_message")
    public void setReturnMessage(String returnMessage) {
        this.returnMessage = returnMessage;
    }

    @JsonProperty("return_message")
    public String getReturnMessage() {
        return this.returnMessage;
    }

}
